//
//  LinePointButton.h
//  BezierPathDraw
//
//  Created by huyuchen on 2018/3/8.
//  Copyright © 2018年 Hyc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,LinePointDetailType){
    LinePointDetailTypeStart = 0,   //线路起点
    LinePointDetailTypeSection,     //线路标段
    LinePointDetailTypeSectionEnd,  //线路标段重点
    LinePointDetailTypeStop,        //线路站点
    LinePointDetailTypeEnd,         //线路终点
};

@interface LinePointButton : UIButton

//// 图片宽度
//@property (nonatomic, assign) CGFloat imageWidth;
//// 图片高度
//@property (nonatomic, assign) CGFloat imageHeight;

@property (nonatomic, assign) BOOL isSelect;

@property (nonatomic, assign) LinePointDetailType type;

/// 为站点上色
@property (nonatomic, strong) UIColor *lineColor;

+ (instancetype)linePointStopButtonWithTitle:(NSString *)title;

+ (instancetype)linePointSectionButtonWithTitle:(NSString *)title style:(LinePointDetailType)style;

@end
